home *** CD-ROM | disk | FTP | other *** search
/ Hacker's Secrets 4 / Hacker's Secrets 4.iso / crypto / pgpfaq1.txt < prev    next >
Text File  |  1996-05-01  |  34KB  |  845 lines

  1.  
  2.              PGP FREQUENTLY ASKED QUESTIONS WITH ANSWERS, PART 1/3
  3.                                        
  4.  
  5. Archive-name: pgp-faq/part1
  6. Posting-Frequency: monthly
  7. Last-modified: 22 June 1995
  8.  
  9. -----BEGIN PGP SIGNED MESSAGE-----
  10.  
  11.                      Frequently Asked Questions
  12.                           alt.security.pgp
  13.                             25 May 1995
  14.  
  15. ========================================================================
  16.                        IMPORTANT DISCLAIMER!
  17.  
  18.      The use of PGP raises  a number of political  and legal
  19.      issues.  I AM NOT a lawyer and AM NOT qualified to give
  20.      any legal opinions.  Nothing in this document should be
  21.      interpreted  as legal advice.   If you  have any  legal
  22.      questions concerning the use of PGP, you should consult
  23.      an  attorney who  specializes in  patent and/or  export
  24.      law.   In any case,  the law  will vary from country to
  25.      country.
  26. ========================================================================
  27.  
  28. Introduction
  29.  
  30. This is the list of Frequently Asked Questions for the Pretty Good
  31. Privacy (PGP) encryption program written by Phillip Zimmermann.  It
  32. is one of two FAQ lists for the newsgroup alt.security.pgp.
  33.  
  34. The other FAQ list is the "Where to Get PGP" FAQ, which is written and
  35. maintained by Michael Paul Johnson <mpj@netcom.com>.  It covers many
  36. topics this one does not; in particular, it contains more complete
  37. information on sites that distribute PGP and the legal and technical
  38. questions surrounding its distribution.  You may get a current copy
  39. from:
  40.  
  41.   ftp://ftp.csn.net/mpj/getpgp.asc
  42.  
  43. This FAQ is slanted towards the DOS or Unix users of PGP and many of
  44. the examples given may only apply to them.  For other systems, I would
  45. like to direct your attention to the following documents:
  46.  
  47.   MAC: "Here's How to MacPGP!" by Xenon <an48138@anon.penet.fi>
  48.   Archimedes PGP comes with its own PGPhints file.
  49.   Send e-mail to pgpinfo@mantis.co.uk for a list of PGP tips.
  50.  
  51. It should be noted that most of the questions and answers concerning
  52. PGP apply equally well to the ViaCrypt(tm) version.
  53.  
  54. Material for this FAQ has come from many different sources.  It would
  55. be difficult to name each of the contributors individually, but I
  56. would like to thank them as a group for their assistance.
  57.  
  58. A current copy of this FAQ can be retrieved from my WWW home page:
  59.  
  60.   http://www.prairienet.org/~jalicqui/pgpfaq.txt
  61.  
  62. or via FTP:
  63.  
  64.   ftp://ftp.prairienet.org/pub/providers/pgp/pgpfaq.?
  65.  
  66. The ? indicates the file format: clearsigned text (txt), gzipped
  67. version of clearsigned text (txt.gz), PGP-signed-and-compressed binary
  68. (pgp), or ASCII armored PGP-signed-and-compressed file (asc).
  69.  
  70. The PGP FAQ is also posted to news.answers and alt.answers, and can be
  71. found in any of the standard FAQ repositories in the three-part form
  72. it is posted in.
  73.  
  74. Permission is granted to copy, archive, or otherwise make this FAQ
  75. available in any way you please, with only the following restriction:
  76. that in every place where this FAQ may be accessed, it must also be
  77. reasonably easy for a user to access a copy of the FAQ with its PGP
  78. signature(s) from me intact.  This ensures that uncorrupted copies of
  79. the FAQ get propagated where those who care can check them, and also
  80. preserves attributions, etc.  If you HTMLize this document, you can
  81. tag the two links mentioned above if you want to avoid storing
  82. multiple copies of the FAQ.
  83.  
  84. Future plans for the FAQ:
  85.  
  86.  - Mac section!
  87.  - hypertexting it and making it available in various forms (LaTeX,
  88.    HTML, texinfo, or some such)
  89.  
  90. Any corrections or suggestions should be sent to me.
  91.  
  92. Jeff Licquia
  93. jalicqui@prairienet.org
  94.  
  95. ========================================================================
  96.  
  97. Table of Contents
  98.  
  99.   1.  Introductory Questions
  100.   1.1.  What is PGP?
  101.   1.2.  Why should I encrypt my mail?  I'm not doing anything illegal!
  102.   1.3.  What are public keys and private keys?
  103.   1.4.  How much does PGP cost?
  104.   1.5.  Is encryption legal?
  105.   1.6.  Is PGP legal?
  106.   1.7.  What's the current version of PGP?
  107.   1.8.  Is there an archive site for alt.security.pgp?
  108.   1.9.  Is there a commercial version of PGP available?
  109.   1.10. Is PGP available as a programming library, so I can write
  110.         programs that use it?
  111.   1.11. What platforms has PGP been ported to?
  112.   1.12. Where can I obtain PGP?
  113.   1.13. I want to find out more!
  114.  
  115.   2.  Very Common Questions and Problems
  116.   2.1.  Why can't a person using version 2.2 read my version 2.3 message?
  117.   2.2.  Why can't a person using version 2.3 read my version 2.6 message?
  118.   2.3.  Why does PGP complain about checking signatures every so often?
  119.   2.4.  Why does it take so long to encrypt/decrypt messages?
  120.   2.5.  How do I create a secondary key file?
  121.   2.6.  How does PGP handle multiple addresses?
  122.   2.7.  Where can I obtain scripts to integrate pgp with my email or news
  123.         reading system?
  124.   2.8.  How can I decrypt messages I've encrypted to others?
  125.   2.9.  Why can't I generate a key with PGP for Unix?
  126.   2.10. When I clearsign a document in PGP, it adds a "dash-space" to
  127.         several of my lines.  What gives?
  128.  
  129.   3.  Security Questions
  130.   3.1.  How secure is PGP?
  131.   3.2.  Can't you break PGP by trying all of the possible keys?
  132.   3.3.  How secure is the conventional cryptography (-c) option?
  133.   3.4.  Can the NSA crack RSA?
  134.   3.5.  Has RSA ever been cracked publicly?  What is RSA-129?
  135.   3.6.  How secure is the "for your eyes only" option (-m)?
  136.   3.7.  What if I forget my pass phrase?
  137.   3.8.  Why do you use the term "pass phrase" instead of "password"?
  138.   3.9.  What is the best way to crack PGP?
  139.   3.10. If my secret key ring is stolen, can my messages be read?
  140.   3.11. How do I choose a pass phrase?
  141.   3.12. How do I remember my pass phrase?
  142.   3.13. How do I verify that my copy of PGP has not been tampered with?
  143.   3.14. I can't verify the signature on my new copy of MIT PGP with my
  144.         old PGP 2.3a!
  145.   3.15. How do I know that there is no trap door in the program?
  146.   3.16. I heard that the NSA put a back door in MIT PGP, and that they
  147.         only allowed it to be legal with the back door.
  148.   3.17. Can I put PGP on a multi-user system like a network or a mainframe?
  149.   3.18. Can I use PGP under a "swapping" operating system like Windows
  150.         or OS/2?
  151.   3.19. Why not use RSA alone rather than a hybrid mix of IDEA, MD5, & RSA?
  152.   3.20. Aren't all of these security procedures a little paranoid?
  153.   3.21. Can I be forced to reveal my pass phrase in any legal proceedings?
  154.  
  155.   4.  Keys
  156.   4.1.  Which key size should I use?
  157.   4.2.  Why does PGP take so long to add new keys to my key ring?
  158.   4.3.  How can I extract multiple keys into a single armored file?
  159.   4.4.  I tried encrypting the same message to the same address two different
  160.         times and got completely different outputs. Why is this?
  161.   4.5.  How do I specify which key to use when an individual has 2 or more
  162.         public keys and the very same user ID on each, or when 2 different
  163.         users have the same name?
  164.   4.6.  What does the message "Unknown signator, can't be checked" mean?
  165.   4.7.  How do I get PGP to display the trust parameters on a key?
  166.   4.8.  How can I make my key available via finger?
  167.  
  168.   5.  Message Signatures
  169.   5.1.  What is message signing?
  170.   5.2.  How do I sign a message while still leaving it readable?
  171.   5.3.  Can't you just forge a signature by copying the signature
  172.         block to another message?
  173.   5.4.  Are PGP signatures legally binding?
  174.  
  175.   6.  Key Signatures
  176.   6.1.  What is key signing?
  177.   6.2.  How do I sign a key?
  178.   6.3.  Should I sign my own key?
  179.   6.4.  Should I sign X's key?
  180.   6.5.  How do I verify someone's identity?
  181.   6.6.  How do I know someone hasn't sent me a bogus key to sign?
  182.   6.7.  What's a key signing party?
  183.   6.8.  How do I organize a key signing party?
  184.  
  185.   7.  Revoking a key
  186.   7.1.  My secret key ring has been stolen or lost, what do I do?
  187.   7.2.  I forgot my pass phrase. Can I create a key revocation certificate?
  188.  
  189.   8.  Public Key Servers
  190.   8.1.  What are the Public Key Servers?
  191.   8.2.  What public key servers are available?
  192.   8.3.  What is the syntax of the key server commands?
  193.  
  194.   9.  Bugs
  195.  
  196.   10. Recommended Reading
  197.  
  198.   11. General Tips
  199.  
  200.   Appendix I    - PGP add-ons and Related Products
  201.   Appendix II   - Glossary of Cryptographic Terms
  202.   Appendix III  - Cypherpunks
  203.   Appendix IV   - Testimony of Philip Zimmermann to Congress
  204.   Appendix V    - Announcement of Philip Zimmermann Defense Fund
  205.   Appendix VI   - A Statement from ViaCrypt Concerning ITAR
  206.  
  207. ========
  208.  
  209. 1.    Introductory Questions
  210.  
  211. ========
  212.  
  213. 1.1.  What is PGP?
  214.  
  215. PGP is a program that gives your electronic mail something that it
  216. otherwise doesn't have: Privacy. It does this by encrypting your mail
  217. so that nobody but the intended person can read it. When encrypted,
  218. the message looks like a meaningless jumble of random characters. PGP
  219. has proven itself quite capable of resisting even the most
  220. sophisticated forms of analysis aimed at reading the encrypted text.
  221.  
  222. PGP can also be used to apply a digital signature to a message without
  223. encrypting it.  This is normally used in public postings where you
  224. don't want to hide what you are saying, but rather want to allow
  225. others to confirm that the message actually came from you. Once a
  226. digital signature is created, it is impossible for anyone to modify
  227. either the message or the signature without the modification being
  228. detected by PGP.
  229.  
  230. While PGP is easy to use, it does give you enough rope so that you can
  231. hang yourself. You should become thoroughly familiar with the various
  232. options in PGP before using it to send serious messages. For example,
  233. giving the command "PGP -sat <filename>" will only sign a message, it
  234. will not encrypt it. Even though the output looks like it is
  235. encrypted, it really isn't. Anybody in the world would be able to
  236. recover the original text.
  237.  
  238. ========
  239.  
  240. 1.2. Why should I encrypt my mail?  I'm not doing anything illegal!
  241.  
  242. You should encrypt your e-mail for the same reason that you don't
  243. write all of your correspondence on the back of a post card. E-mail is
  244. actually far less secure than the postal system. With the post office,
  245. you at least put your letter inside an envelope to hide it from casual
  246. snooping. Take a look at the header area of any e-mail message that
  247. you receive and you will see that it has passed through a number of
  248. nodes on its way to you. Every one of these nodes presents the
  249. opportunity for snooping.  Encryption in no way should imply illegal
  250. activity.  It is simply intended to keep personal thoughts personal.
  251.  
  252. Xenon <an48138@anon.penet.fi> puts it like this:
  253.  
  254. Crime? If you are not a politician, research scientist, investor, CEO,
  255. lawyer, celebrity, libertarian in a repressive society, investor, or
  256. person having too much fun, and you do not send e-mail about your
  257. private sex life, financial/political/legal/scientific plans, or
  258. gossip then maybe you don't need PGP, but at least realize that
  259. privacy has nothing to do with crime and is in fact what keeps the
  260. world from falling apart. Besides, PGP is FUN. You never had a secret
  261. decoder ring? Boo!  -Xenon (Copyright 1993, Xenon)
  262.  
  263. ========
  264.  
  265. 1.3.  What are public keys and private keys?
  266.  
  267. With conventional encryption schemes, keys must be exchanged with
  268. everyone you wish to talk to by some other secure method such as face
  269. to face meetings, or via a trusted courier.  The problem is that you
  270. need a secure channel before you can establish a secure channel!  With
  271. conventional encryption, either the same key is used for both
  272. encryption and decryption or it is easy to convert either key to the
  273. other. With public key encryption, the encryption and decryption keys
  274. are different and it is impossible for anyone to convert one to the
  275. other. Therefore, the encryption key can be made public knowledge, and
  276. posted in a database somewhere. Anyone wanting to send you a message
  277. would obtain your encryption key from this database or some other
  278. source and encrypt his message to you. This message can't be decrypted
  279. with the encryption key. Therefore nobody other than the intended
  280. receiver can decrypt the message. Even the person who encrypted it can
  281. not reverse the process. When you receive a message, you use your
  282. secret decryption key to decrypt the message. This secret key never
  283. leaves your computer. In fact, your secret key is itself encrypted to
  284. protect it from anyone snooping around your computer.
  285.  
  286. ========
  287.  
  288. 1.4.  How much does PGP cost?
  289.  
  290. Nothing! (Compare to ViaCrypt PGP at $98!)
  291.  
  292. It should be noted, however, that in the United States, some freeware
  293. versions of PGP *MAY* be a violation of a patent held by Public Key
  294. Partners (PKP).  The MIT and ViaCrypt versions specifically are not in
  295. violation; if you use anything else, it's your risk.  See below
  296. (question 1.6) for more information on the patent situation.
  297.  
  298. Also, the free versions of PGP are free only for noncommercial use.
  299. If you need to use PGP in a commercial setting (and you live in the
  300. United States or Canada), you should buy a copy of ViaCrypt PGP.
  301. ViaCrypt PGP has other advantages as well, most notably a limited
  302. license to export it to foreign branch offices.  See below, under
  303. question 1.10, for information on how to contact ViaCrypt.
  304.  
  305. If you need to use PGP for commercial use outside the United States or
  306. Canada, you should contact Ascom Systec AG, the patent holders for IDEA.
  307. They have sold individual licenses for using the IDEA encryption in
  308. PGP.  Contact:
  309.  
  310.   Erhard Widmer
  311.   Ascom Systec AG
  312.   Dep't. CMVV
  313.   Gewerbepark
  314.   CH-5506 Maegenwil
  315.   Switzerland
  316.   IDEA@ascom.ch
  317.  
  318.   ++41 64 56 59 83 (Fax ++41 64 56 59 90)
  319.  
  320. ========
  321.  
  322. 1.5.  Is encryption legal?
  323.  
  324. In much of the civilized world, encryption is either legal, or at
  325. least tolerated. However, there are a some countries where such
  326. activities could put you in front of a firing squad! Check with the
  327. laws in your own country before using PGP or any other encryption
  328. product. A couple of the countries where encryption is illegal are
  329. France, Iran, and Iraq.
  330.  
  331. *** NEWS FLASH ***
  332.  
  333. On April 3, 1995, Boris Yeltsin issued a decree formally banning
  334. encryption with methods not approved by the state.  This would,
  335. presumably, include PGP.  Thus, Russia must be added to the short list
  336. above.
  337.  
  338. *** END NEWS FLASH ***
  339.  
  340. The legal status of encryption in many countries has been placed on
  341. the World Wide Web.  You can access it from:
  342.  
  343.   http://web.cnam.fr/Network/Crypto/
  344.  
  345. ========
  346.  
  347. 1.6.  Is PGP legal?
  348.  
  349. In addition to the comments about encryption listed above, there are a
  350. couple of additional issues of importance to those individuals
  351. residing in the United States or Canada.
  352.  
  353. First, there is a question as to whether or not PGP falls under ITAR
  354. regulations which govern the exporting of cryptographic technology
  355. from the United States and Canada. This despite the fact that
  356. technical articles on the subject of public key encryption have been
  357. available legally worldwide for a number of years.  Any competent
  358. programmer would have been able to translate those articles into a
  359. workable encryption program.  A lawsuit has recently been filed by the
  360. EFF challenging the ITAR regulations; thus, they may be relaxed to
  361. allow encryption technology to be exported.
  362.  
  363. Second, older versions of PGP (up to 2.3a) were thought to be
  364. violating the patent on the RSA encryption algorithm held by Public
  365. Key Partners (PKP), a patent that is only valid in the United States.
  366. This was never tested in court, however, and recent versions of PGP
  367. have been made with various agreements and licenses in force which
  368. effectively settle the patent issue.  So-called "international"
  369. versions and older versions (previous to ViaCrypt PGP 2.4), however,
  370. are still considered in violation by PKP; if you're in the USA, use
  371. them at your own risk!
  372.  
  373. ========
  374.  
  375. 1.7.  What's the current version of PGP?
  376.  
  377. You would think that's an easy question to answer!
  378.  
  379. At the moment, there are four different "current" versions of PGP.
  380. All of these are derived, more or less, from a common source base: PGP
  381. 2.3a, the last "guerillaware" version of PGP.  Negotiations to make
  382. PGP legal and "legitimate" have resulted in the differing versions
  383. available; all of them, for the most part, are approximately
  384. equivalent in functionality, and they can all work with each other in
  385. most respects.
  386.  
  387. MIT PGP 2.6.2 is the current "official" freeware version.  It has been
  388. developed both with Phil Zimmermann's approval and active involvement.
  389. It contains several bug fixes and enhancements over 2.3a, and it
  390. avoids the patent question surrounding other versions of PGP by using
  391. the RSAREF library for some of its functions.  This library was
  392. developed by RSA Data Security, Inc., and is (basically) free for
  393. noncommercial use.  As part of MIT's agreement with RSADSI, all
  394. versions of MIT PGP generate encrypted messages that cannot be
  395. decrypted with PGP 2.3a or previous versions.
  396.  
  397. ViaCrypt PGP 2.7.1 is the current "official" commercial version.  It
  398. is available from ViaCrypt, a company out of Arizona, and also has
  399. Phil's approval and involvement.  See below for details on this
  400. version.
  401.  
  402. PGP 2.6.2i ("international") is a version of PGP developed from the
  403. source code of MIT PGP, which was exported illegally from the United
  404. States at some point.  Basically, it is MIT PGP 2.6.2, but it uses the
  405. old encryption routines from PGP 2.3a; these routines perform better
  406. than RSAREF and in addition do not have the usage restrictions in the
  407. RSAREF copyright license.  It also contains some fixes for bugs
  408. discovered since the release of MIT PGP 2.6.2.
  409.  
  410. PGP 2.6ui ("unofficial international") is PGP 2.3a with minor
  411. modifications made so it can decrypt files encrypted with MIT PGP.  It
  412. does not contain any of the MIT fixes and improvements; it does,
  413. however, have other improvements, most notably in the Macintosh
  414. version.
  415.  
  416. ========
  417.  
  418. 1.8.  Is there an archive site for alt.security.pgp?
  419.  
  420. laszlo@instrlab.kth.se (Laszlo Baranyi) says:
  421.  
  422. "My memory says that ripem.msu.edu stores a backlog of both
  423. alt.security.pgp, and sci.crypt. But that site is ONLY open for ftp
  424. for those that are inside US."
  425.  
  426. ========
  427.  
  428. 1.9.  Is there a commercial version of PGP available?
  429.  
  430. Yes; by arrangement with the author of PGP, a company called ViaCrypt
  431. is marketing a version of PGP that is almost identical to the freeware
  432. version. Each can read or write messages which the other can
  433. understand.
  434.  
  435. ViaCrypt reports:
  436.  
  437. - -----
  438. If you are a commercial user of PGP in the USA or Canada, contact
  439. Viacrypt in Phoenix, Arizona, USA.  The commercial version of PGP
  440. is fully licensed to use the patented RSA and IDEA encryption
  441. algorithms in commercial applications, and may be used in
  442. corporate and government environments in the USA and Canada.  It
  443. is fully compatible with, functionally the same as, and just as
  444. strong as the freeware version of PGP. Due to limitations on
  445. ViaCrypt's RSA distribution license, ViaCrypt only distributes
  446. executable code and documentation for it, but they are working on
  447. making PGP available for a variety of platforms.  Call or write
  448. to them for the latest information.  The latest version number
  449. for Viacrypt PGP is 2.7.  [Note: Since this statement was issued,
  450. ViaCrypt has updated ViaCrypt PGP to 2.7.1.]
  451.  
  452. Here is a brief summary of Viacrypt's currently-available
  453. products:
  454.  
  455. 1. ViaCrypt PGP for Windows (3.1).   Prices start at $124.98
  456.  
  457. 2. ViaCrypt PGP for Macintosh, 680x0 or PowerPC, System 6.04 or
  458.    later.    Prices start at $124.98
  459.  
  460. 3. ViaCrypt PGP for MS-DOS.  Prices start at $99.98
  461.  
  462. 4. ViaCrypt PGP for UNIX.  Includes executables for the following
  463.    platforms:
  464.  
  465.      SunOS 4.1.x (SPARC)
  466.      Solaris 2.3
  467.      IBM RS/6000 AIX
  468.      HP 9000 Series 700/800 UX
  469.      SCO 386/486 UNIX
  470.      SGI IRIX
  471.      AViiON DG-UX(88/OPEN)
  472.  
  473.    Prices start at $149.98
  474.  
  475.      Executables for the following additional platforms are
  476.      available upon request for an additional $30.00 charge.
  477.  
  478.      BSD 386
  479.      Ultrix MIPS DECstation 4.x
  480.      DEC Alpha OSF/1
  481.      NeXTSTEP
  482.  
  483. 5. ViaCrypt PGP for WinCIM/CSNav.  A special package for users of
  484.    CompuServe.  Prices start at $119.98
  485.  
  486. If you wish to place an order please call 800-536-2664 during the
  487. hours of 8:30am to 5:00pm MST, Monday - Friday.  We accept VISA,
  488. MasterCard, AMEX and Discover credit cards.
  489.  
  490. If you have further questions, please feel free to contact me.
  491.  
  492. Best Regards,
  493. Paul E. Uhlhorn
  494. Director of Marketing, ViaCrypt Products
  495. Mail:       9033 N. 24th Avenue
  496.             Suite 7
  497.             Phoenix, AZ  85021-2847
  498. Phone:      (602) 944-0773
  499. Fax:        (602) 943-2601
  500. Internet:   viacrypt@acm.org
  501. Compuserve: 70304,41
  502. - -----
  503.  
  504. They have also reported recently that they have gained a general
  505. export license for exporting ViaCrypt PGP to foreign subsidiaries of
  506. USA-based companies.  Contact ViaCrypt for details.
  507.  
  508. ========
  509.  
  510. 1.10. Is PGP available as a programming library, so I can write
  511.       programs that use it?
  512.  
  513. Not yet.  PGP 3.0, when it is released, is supposed to have support
  514. for doing this.  The PGP development team has even released a
  515. preliminary API for the library; you can get it from:
  516.  
  517.   ftp://ftp.netcom.com/pub/dd/ddt/crypto/crypto_info/950212_pgp3spec.txt
  518.  
  519. The development team has expressed that this is not a definitive spec;
  520. some of it is already out of date.  It's good for getting the general
  521. idea, though.  Send comments concerning the spec to pgp@lsd.com.
  522.  
  523. In the meantime, you can write your programs to call the PGP program
  524. when necessary.  In C, for example, you would likely use the system()
  525. or spawn...() functions to do this.
  526.  
  527. ========
  528.  
  529. 1.11. What platforms has PGP been ported to?
  530.  
  531. PGP has been ported successfully to many different platforms,
  532. including DOS, the Macintosh, OS/2, Unix (just about all flavors),
  533. VMS, the Atari ST, Archimedes, and the Commodore Amiga.  A Windows NT
  534. port is reportably in the works as well.
  535.  
  536. If you don't see your favorite platform above, don't despair!  It's
  537. likely that porting PGP to your platform won't be too terribly
  538. difficult, considering all the platforms it has been ported to.  Just
  539. ask around to see if there might in fact be a port to your system, and
  540. if not, try it!
  541.  
  542. PGP's VMS port, by the way, has its own Web page:
  543.  
  544.   http://www.tditx.com/~d_north/pgp.html
  545.  
  546. ========
  547.  
  548. 1.12. Where can I obtain PGP?
  549.  
  550. PGP is very widely available, so much so that a separate FAQ has been
  551. written for answering this question.  It is called, "WHERE TO GET THE
  552. PRETTY GOOD PRIVACY PROGRAM (PGP)"; it is posted in alt.security.pgp
  553. regularly, is in the various FAQ archive sites, and is also available
  554. from:
  555.  
  556.   ftp://ftp.csn.net/mpj/getpgp.asc
  557.  
  558. However, I will describe below the ways to get the differing versions
  559. of PGP from their source sites.  Please refer to the above document
  560. for more information.
  561.  
  562. MIT PGP 2.6.2:
  563.  
  564. Due to the ITAR regulations (described above), MIT has found it
  565. necessary to place PGP in an export-controlled directory to prevent
  566. people outside the United States from downloading it.  If you are in
  567. the USA, you may follow these directions:
  568.  
  569. Telnet to net-dist.mit.edu and log in as "getpgp".  You will then be
  570. given a short statement about the regulations concerning the export of
  571. cryptographic software, and be given a series of yes/no questions to
  572. answer.  If you answer correctly to the questions (they consist mostly
  573. of agreements to the RSADSI and MIT licenses and questions about
  574. whether you intend to export PGP), you will be given a special
  575. directory name in which to find the PGP code.  At that point, you can
  576. FTP to net-dist.mit.edu, change to that directory, and access the
  577. software.  You may be denied access to the directories even if you
  578. answer the questions correctly if the MIT site cannot verify that your
  579. site does in fact reside in the USA.
  580.  
  581. Further directions, copies of the MIT and RSAREF licenses, notes, and
  582. the full documentation are freely available from:
  583.  
  584.   ftp://net-dist.mit.edu/pub/PGP/
  585.  
  586. An easier method of getting to the PGP software is now available on
  587. the World Wide Web at the following location:
  588.  
  589.   http://bs.mit.edu:8001/pgp-form.html
  590.  
  591. ViaCrypt PGP 2.7.1:
  592.  
  593. ViaCrypt PGP is not generally available for FTP; it is commercial
  594. software.  It is, furthermore, not available outside the United States
  595. or Canada except under special circumstances.  See above (question
  596. 1.9) for contact information.
  597.  
  598. PGP 2.6.2i:
  599.  
  600. As Norway is not limited by ITAR, no hoops are needed to get this
  601. version:
  602.  
  603.   http://www.ifi.uio.no/~staalesc/PGP/home.html
  604.   ftp://ftp.ox.ac.uk/pub/crypto/pgp/
  605.  
  606. You may also get it via mail by sending a message to
  607. hypnotech-request@ifi.uio.no with your request in the subject:
  608.  
  609.   GET pgp262i[s].[zip | tar.gz]
  610.  
  611. Specify the "s" if you want the source code.  Putting ".zip" at the
  612. end gets you the files in the PKZIP/Info-ZIP archive format, while
  613. putting "tar.gz" at the end gets the files in a gzipped tar file.
  614.  
  615. PGP 2.6ui:
  616.  
  617.   ftp://ftp.mantis.co.uk/pub/cryptography/
  618.   http://www.mantis.co.uk/pgp/pgp.html
  619.  
  620. This link is also an excellent resource for other information about PGP.
  621.  
  622. A note on ftpmail:
  623.  
  624.     For those individuals who do not have access to FTP, but do have access
  625.     to e-mail, you can get FTP files mailed to you.  For information on
  626.     this service, send a message saying "Help" to ftpmail@decwrl.dec.com.
  627.     You will be sent an instruction sheet on how to use the ftpmail
  628.     service.
  629.  
  630. ========
  631.  
  632. 1.13.  I want to find out more!
  633.  
  634. If this FAQ doesn't answer your question, there are several places for
  635. finding out information about PGP.
  636.  
  637. Web/Mosaic/Lynx:
  638.  
  639.     Fran Litterio's Crypto Page (from the Virtual Library)
  640.       http://draco.centerline.com:8080/~franl/crypto.html
  641.     Using Microsoft Windows with PGP
  642.       http://www.lcs.com/winpgp.html
  643.     Derek Atkins' Official Bug List for MIT PGP
  644.       http://www.mit.edu:8001/people/warlord/pgp-faq.html
  645.     The Phil Zimmermann Legal Defense Fund Page
  646.       http://www.netresponse.com/zldf
  647.     The MCIP/Macintosh Cryptography Page
  648.       http://uts.cc.utexas.edu/~grgcombs/htmls/crypto.html
  649.     Jeff Licquia's Home Page
  650.       http://www.prairienet.org/~jalicqui
  651.  
  652. FTP Sites:
  653.  
  654.     ftp://ripem.msu.edu/pub/crypt/
  655.     ftp://ftp.dsi.unimi.it/pub/security/crypt/
  656.     ftp://ftp.csua.berkeley.edu/pub/cypherpunks/
  657.  
  658. News Groups:
  659.  
  660.     alt.anonymous               Discussion of anonymity and anon remailers
  661.     alt.anonymous.messages      For anonymous encrypted message transfer
  662.     alt.privacy.clipper         Clipper, Capstone, Skipjack, Key Escrow
  663.     alt.security                general security discussions
  664.     alt.security.index          index to alt.security
  665.     alt.security.pgp            discussion of PGP
  666.     alt.security.ripem          discussion of RIPEM
  667.     alt.security.keydist        key distribution via Usenet
  668.     alt.society.civil-liberty   general civil liberties, including privacy
  669.     comp.compression            discussion of compression algorithms
  670.     comp.org.eff.news           News reports from EFF
  671.     comp.org.eff.talk           discussion of EFF related issues
  672.     comp.patents                discussion of S/W patents, including RSA
  673.     comp.risks                  some mention of crypto and wiretapping
  674.     comp.society.privacy        general privacy issues
  675.     comp.security.announce      announcements of security holes
  676.     misc.legal.computing        software patents, copyrights, computer laws
  677.     sci.crypt                   methods of data encryption/decryption
  678.     sci.math                    general math discussion
  679.     talk.politics.crypto        general talk on crypto politics
  680.  
  681. ========
  682.  
  683. 2.   Very Common Questions and Problems
  684.  
  685. ========
  686.  
  687. 2.1. Why can't a person using version 2.2 read my version 2.3 message?
  688.  
  689. You might try adding "+pkcs_compat=0" to your command line as follows:
  690. "pgp -seat +pkcs_compat=0 <filename>" By default, versions 2.3 and
  691. later of PGP uses a different header format that is not compatible
  692. with earlier versions of PGP. Inserting this option into the command
  693. will force PGP to use the older header format. You can also set this
  694. option in your config.txt file, but this is not recommended, as the
  695. newer versions of PGP cannot understand the old signature format.
  696.  
  697. ========
  698.  
  699. 2.2. Why can't a person using version 2.x read my version 2.6 message?
  700.  
  701. You are probably using MIT PGP, or possibly some other version of PGP
  702. with the "legal_kludge" option turned off.
  703.  
  704. As part of the agreement made to settle PGP's patent problems, MIT PGP
  705. changed its format slightly to prevent PGP 2.4 and older versions
  706. from decrypting its messages.  This format change was written into MIT
  707. PGP to happen on September 1, 1994.  Thus, all messages encrypted with
  708. MIT PGP after that date are unreadable by 2.4 (and earlier).
  709.  
  710. The best route here is for your friend to upgrade to a newer version
  711. of PGP.  Alternatively, if you are using a non-MIT version, look up
  712. the "legal_kludge" option in your documentation; you should be able to
  713. configure your copy of PGP to generate old-style messages.
  714.  
  715. ========
  716.  
  717. 2.3. Why does PGP complain about checking signatures every so often?
  718.  
  719. Version 2.3a introduced the "pkcs_compat" option, allowing the format
  720. of signatures to change slightly to make them more compatible with
  721. industry standards.  (See question 2.1.)  MIT PGP, because it uses the
  722. RSAREF library, is unable to understand the old signature format, so
  723. it therefore ignores the signature and warns you that it is doing so.
  724.  
  725. This problem comes up mostly with old key signatures.  If your key
  726. contains such old signatures, try to get those people who signed your
  727. key to resign it.
  728.  
  729. If an old signature is still vitally important to check, get a non-MIT
  730. version of PGP to check it with, such as ViaCrypt's.
  731.  
  732. ========
  733.  
  734. 2.4. Why does it take so long to encrypt/decrypt messages?
  735.  
  736. This problem can arise when you have placed the entire public key ring
  737. from one of the servers into the pubring.pgp file. PGP may have to
  738. search through several thousand keys to find the one that it is after.
  739. The solution to this dilemma is to maintain 2 public key rings. The
  740. first ring, the normal pubring.pgp file, should contain only those
  741. individuals that you send messages to quite often. The second key ring
  742. can contain ALL of the keys for those occasions when the key you need
  743. isn't in your short ring. You will, of course, need to specify the key
  744. file name whenever encrypting messages using keys in your secondary
  745. key ring. Now, when encrypting or decrypting messages to individuals
  746. in your short key ring, the process will be a LOT faster.
  747.  
  748. ========
  749.  
  750. 2.5. How do I create a secondary key file?
  751.  
  752. First, let's assume that you have all of the mammoth public key ring
  753. in your default pubring.pgp file. First, you will need to extract all
  754. of your commonly used keys into separate key files using the -kx
  755. option. Next, rename pubring.pgp to some other name. For this example,
  756. I will use the name "pubring.big". Next, add each of the individual
  757. key files that you previously created to a new pubring.pgp using the
  758. - -ka option. To encrypt a message to someone in the short default file,
  759. use the command "pgp -e <file> <userid>". To encrypt a message to
  760. someone in the long ring, use the command "pgp -e
  761. +pubring=c:\pgp\pubring.big <file> <userid>". Note that you need to
  762. specify the complete path and file name for the secondary key ring. It
  763. will not be found if you only specify the file name.
  764.  
  765. ========
  766.  
  767. 2.6. How does PGP handle multiple addreses?
  768.  
  769. When encrypting a message to multiple addresses, you will notice that
  770. the length of the encrypted file only increases by a small amount for
  771. each additional address.  The reason that the message only grows by a
  772. small amount for each additional key is that the body of the message
  773. is only encrypted once using a random session key and IDEA. It is only
  774. necessary then to encrypt this session key once for each address and
  775. place it in the header of the message. Therefore, the total length of
  776. a message only increases by the size of a header segment for each
  777. additional address. (To avoid a known weakness in RSA when encrypting
  778. the same message to multiple recipients, the IDEA session key is
  779. padded with different random data each time it is RSA- encrypted.)
  780.  
  781. ========
  782.  
  783. 2.7. Where can I obtain scripts to integrate pgp with my email or news
  784. reading system?
  785.  
  786. There are many scripts and programs available for making PGP easier to
  787. use.  See below, in Appendix I, for a list of such programs.
  788.  
  789. A set of scripts was distributed with PGP for doing this.  Since these
  790. scripts were considered out of date, they have been removed from the
  791. MIT distribution.
  792.  
  793. ========
  794.  
  795. 2.8. How can I decrypt messages I've encrypted to others?
  796.  
  797. With conventional encryption, you can read the message by running PGP
  798. on the encrypted file and giving the pass phrase you used to encrypt.
  799.  
  800. With regular encryption, it's impossible unless you encrypted to
  801. yourself as well.  Sorry!
  802.  
  803. There is an undocumented setting, EncryptToSelf, which you can set in
  804. your CONFIG.TXT or on the command line to "on" if you want PGP to
  805. always encrypt your messages to yourself.  Be warned, though; if your
  806. key is compromised, this means that the "cracker" will be able to read
  807. all the message you sent as well as the ones you've received.
  808.  
  809. ========
  810.  
  811. 2.9. Why can't I generate a key with PGP for Unix?
  812.  
  813. Most likely this is caused because PGP can't create the public and
  814. private key ring files.  If PGPPATH isn't defined, PGP will try to put
  815. those files in the subdirectory ".pgp" off your home directory.  It
  816. will not create the directory if needed, so if the directory's not
  817. there already, PGP will crash after generating the key.
  818.  
  819. There are two solutions: set the PGPPASS environment variable to point
  820. to the location of your key rings, or run a "mkdir $HOME/.pgp" before
  821. generating your key.
  822.  
  823. ========
  824.  
  825. 2.10. When I clearsign a document in PGP, it adds a "dash-space" to
  826. several of my lines.  What gives?
  827.  
  828. PGP does this because of the "-----BEGIN PGP MESSAGE-----" (and
  829. related) headers it uses to mark the beginning of PGP messages.  To
  830. keep it from getting confused, it tacks a "- " to the beginning of
  831. every line in the regular text which has a dash at the start.  It
  832. strips the extra dash and space when you check the message's
  833. signature, and writes the original text to the output.
  834.  
  835.  
  836. -----BEGIN PGP SIGNATURE-----
  837. Version: 2.6.2
  838.  
  839. iQCVAwUBL+kAVLnwkw8DU+OFAQGTaQP/am6VQIXoSRvYsxw9ncyPmZDN+t/0r1+0
  840. osArYuWC167qo+hIBUcEwabRiLt2TvbTG91qjqTOUwkU+qB/eAj96ozHlN22AmmR
  841. 7ufvJAR4HjJFB+QBv5aFVB3/FTPoupDCnA6L79O4xXFHoBhxukYSJ5zswAZdVSbZ
  842. bY8ALveqhpY=
  843. =9GgA
  844. -----END PGP SIGNATURE-----
  845.